{extend name="tpl/site_0/default/pc/public/layout.html" /}
{block name="title"}{$webConfig.WEBNAME}{/block}
{block name="head"}{/block}
{block name="body"}
{include file="tpl/site_0/default/pc/public/head.html" /}
<div class="container">
    <h2>cms导航分类</h2>
    {volist name=":format_tree_cat(cms_cache_cat($siteId),cid)" id="vo"}
    {php}$data1=format_cms_cat($vo){/php}
    第一级栏目名字:{$vo.cat_name}
    链接地址：{$data1.url}<a href="{$data1.url}">进入</a><br>
    {volist name="vo.children" id="v"}
    {php}$data2=format_cms_cat($v){/php}
    &nbsp;&nbsp;&nbsp;&nbsp;第二级栏目名字:{$data2.cat_name} 链接地址:{$data2.url} <a href="{$data2.url}">进入</a><br>
    {/volist}
    {/volist}
</div>

{/block}